package 单元测试;

import javax.swing.plaf.PanelUI;

public class UserService {
     public String login(String loginname,String password)
     {
         if ("admin".equals(loginname)&&"12345".equals(password))
         {
             return "登陆成功";
         }
         return "用户名或密码错误";

     }
}
